<?php
namespace Modules\Good\Http\Resources;

use Illuminate\Http\Request;
use Illuminate\Http\Resources\Json\JsonResource;
use Modules\Good\Requests\SlideRequest;

class SlideResource extends JsonResource
{

    public function toArray(Request $request): array
    {
        return [
            'id' => $this->id,
            'title' => $this->title,
            'url' => $this->url,
            'img' => $this->img,
            'status' => $this->status,
            'seq' => $this->seq,
            'created_at' => $this->created_at,
        ];
    }
}
